package com.house.repository;

import com.house.entity.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @author:lzq
 * @date: 2018/5/24 16:00
 */
public interface UserRepository extends CrudRepository<User,Long>{

    User findByName(String username);

}
